package com.github.tiger.client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@EnableDiscoveryClient
public class TigerClientApplication {
    @GetMapping("/")
    public void healthCheck() {

    }

    @GetMapping("test")
    public String test() throws InterruptedException {
        Thread.sleep(10000);
        return "i am a test";
    }
    public static void main(String[] args) {
        SpringApplication.run(TigerClientApplication.class, args);
    }
}
